package com.padakeji.android.ui.examples;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.widget.ListView;

import java.util.List;

/**
 * Created by atanl on 2015/10/21.
 */
public class SwipeRefreshLayoutTestActivity extends Activity {


    private SwipeRefreshLayout swipeRefreshLayout;
    private ListView listView;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_swipe_refresh_layout_test);

        findViews();

        configViews();

    }

    private void findViews() {

        swipeRefreshLayout = (SwipeRefreshLayout) findViewById(R.id.activity_swipeRefreshLayoutTest_swipe_refresh);
        listView = (ListView) findViewById(R.id.activity_swipeRefreshLayoutTest_list_items);

    }

    private void configViews() {


        swipeRefreshLayout.setColorSchemeColors();

    }
}
